home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / auror300.zip / WPMENU.AML < prev    next >
Text File  |  1996-07-17  |  17KB  |  443 lines

  1. //--------------------------------------------------------------------
  2. // The Aurora Editor v3.0, Copyright (C) 1993-1996 nuText Systems
  3. //
  4. // MENU.AML
  5. // WordPerfect Menu definitions (included by Main.aml)
  6. //
  7. // If you have made any changes, save this file and select Recompile
  8. // the Editor from the Set menu. Exit and re-enter the editor for
  9. // your changes to take effect.
  10. //--------------------------------------------------------------------
  11.  
  12. //--------------------------------------------------------------------
  13. // Edit Window menu bar and tool bar
  14. //--------------------------------------------------------------------
  15.  
  16. function  EditMen
  17.  
  18.   // menu bar
  19.   menubar "" 1
  20.     item "&File"     "editFile"
  21.     item "&Window"   "editWindow"
  22.     item "&Block"    "editBlock"
  23.     item "&Search"   "editSearch"
  24.     item "F&old"     "editFold"
  25.     item "&Edit"     "editEdit"
  26.     item "&Clip"     "editClip"
  27.     item "&Print"    "editPrint"
  28.     item "Se&t"      "editSet"
  29.     item "M&acro"    "editMacro"
  30.     item "&Help"     "editHelp"
  31.   end
  32.  
  33.   // tool bar
  34.   menubar "" 2
  35.     item "<&&≡>"     toolbar                 // close tool bar
  36.     item "<&&?>"     quickref 'u' 'f'        // users guide
  37.     item "<&&*>"     open "*.*"              // display file manager
  38.     item "<&&/>"     copywin                 // copy window
  39.     item "<&&─>"     splitwin 'h'            // split window horz
  40.     item "<&&|>"     splitwin 'v'            // split window vert
  41.     item "<&&o>"     askopen                 // open prompt
  42.     item "<&&s>"     save                    // save file
  43.     item "<&&F>"     askfind                 // find prompt
  44.     item "<&&f>"     findlast                // do last find/replace
  45.     item "<&&r>"     formatblock2            // reformat block
  46.     item "<&&«>"     undo                    // undo last change
  47.     item "<&&»>"     redo                    // redo last change
  48.     item "<&&>>"     foldblock2              // fold block
  49.     item "<&&<>"     destroyfold2            // destroyfold
  50.   end
  51. end
  52.  
  53.  
  54. //--------------------------------------------------------------------
  55. // Edit Window pulldown menus
  56. //--------------------------------------------------------------------
  57.  
  58. forward inout
  59. menu  "editFile"
  60.   item " &New                  <ctrl n>"  opennew
  61.   item " &Open..            <shift f10>"  askopen
  62.   item " Open &Binary.."                  askopenb
  63.   //item " Open Last&..           <alt z>"  openlast
  64.   item " &Rename..              <alt n>"  askname
  65.   item " &Save                    <f10>"  save
  66.   item " Text &In/Out         <ctrl f5>"  inout
  67.   item "-"
  68.   item " &File Manager..           <f4>"  open "*.*"
  69.   item " &Tree.."                         runmacro2 "tree"
  70.   item " Ne&xt"                           nextfile
  71.   item " &Prev"                           prevfile
  72.   item " &List..                <alt ->"  filelist
  73.   item "─"
  74.   item " &Close                 <alt q>"  close
  75.   item " Close &All                <f7>"  closeall
  76.   item " Sav&e and Close       <ctrl x>"  close 's'
  77.   item " Save an&d Close All"             closeall 's'
  78.   item "─"
  79.   item " Abo&ut.."                        about
  80. end
  81.  
  82.  
  83. menu  "editWindow"
  84.   item " &Restore"                       restore
  85.   item " &Move/Size"                     sizekey
  86.   item " P&an"                           pankey
  87.   item " M&inimize"                      minimize
  88.   item " Ma&ximize           <ctrl z>"   maximize
  89.   item " &Next             <shift f3>"   nextwindow
  90.   item " &Prev"                          prevwindow
  91.   item " &List..                 <f5>"   winlist
  92.   item "─"
  93.   item " &Copy               <ctrl c>"   copywin
  94.   item " Split Hor&z          <alt h>"   splitwin 'h'
  95.   item " Split Ver&t          <alt v>"   splitwin 'v'
  96.   item "─"
  97.   item " Ca&scade"                       cascade
  98.   item " Tile &Horz"                     tile 'h'
  99.   item " Tile &Vert"                     tile 'v'
  100.   item "─"
  101.   item " Tool &Bar"                      toolbar
  102.   item " Pr&ompt Style.."                runcfg "prom"
  103. end
  104.  
  105. forward  markblock
  106. menu  "editMark"
  107.   item " Mark &Block       <alt f4>"   markblock
  108.   item " Mark &Line         <alt l>"   markline
  109.   item " Mark &Column       <alt b>"   markcolumn
  110.   item " Mark &Word         <alt 1>"   markword
  111.   item " Mark to &EOL       <alt 2>"   markeol
  112.   item " Mark &Paragraph    <alt 3>"   markpara "tb"
  113.   item "─"
  114.   item " &Unmark            <alt u>"   destroymark
  115. end
  116.  
  117. menu  "editBlock"
  118.   item " Mar&k..                    "    submenu "editMark"
  119.   item " &Copy                <alt c>"    copyblock2
  120.   item " &Move                <alt m>"    moveblock2
  121.   item " Copy &Over           <alt o>"    copyblockover
  122.   item " Mo&ve Over          <ctrl m>"    moveblockover
  123.   item " &Delete              <alt d>"    deleteblock2
  124.   item " &Indent"                         shiftblock  1
  125.   item " UnInden&t"                       shiftblock -1
  126.   item "─"
  127.   item " &Fill            <ctrl k><f>"    fillblock2
  128.   item " S&ave..          <ctrl k><s>"    saveblock2
  129.   item " &Sort            <ctrl k><o>"    sortblock2
  130.   item " Lo&wercase"                      caseblock 'l'
  131.   item " U&ppercase       <ctrl k><u>"    caseblock
  132.   item "─"
  133.   item " Ce&nter          <ctrl k><c>"    justblock2 'c'
  134.   item " &Left Justify"                   justblock2 'l'
  135.   item " Ri&ght Justify"                  justblock2 'r'
  136.   item " &Reformat            <alt r>"    formatblock2
  137.   item " R&eformat Right      <alt y>"    formatblock2 "rj"
  138. end
  139.  
  140. menu  "editSearch"
  141.   item " &Find..       <shift f2> or <f2>"   askfind
  142.   item " Re&place..              <alt f2>"   askrepl
  143.   item " &Repeat Last Find/Repl  <ctrl l>"   findlast
  144.   item " &Scan Files..           <ctrl s>"   askscan
  145.   item " &Incremental Search     <ctrl i>"   isearch
  146.   item " Find &Occurrences..     <ctrl h>"   askfindo
  147.   item "─"
  148.   item " &Quick Bookmark         <ctrl 2>"   quickbook
  149.   item " Pre&v Bookmark          <ctrl 6>"   cyclebook
  150.   item " Place &Bookmark.."                  placebook
  151.   item " &Go to Bookmark.."                  askbook
  152.   item "─"
  153.   item " Go to &Line..           <ctrl j>"   askrow
  154.   item " Go to Bloc&k Start      <ctrl b>"   gotomark 't'
  155.   item " Go to Block En&d"                   gotomark 'b'
  156.   item " Go to Ne&xt Fold         <alt 7>"   search2 "f/f"
  157.   item "─"
  158.   item " Find &Matching Char"                gotomatch2
  159.   item " Go to Compiler &Error"              gotoerror
  160. end
  161.  
  162. menu  "editFold"
  163.   item " &Fold Next Line          <alt 8>"    foldline
  164.   item " &Unfold Next Line        <alt 9>"    foldline 'u'
  165.   item "─"
  166.   item " Crea&te Fold"                        createfold
  167.   item " &Open Fold               <alt \\>"   openfold
  168.   item " &Close Fold              <alt \\>"   closefold
  169.   item " &Remove Fold             <alt g>"    destroyfold2
  170.   item "─"
  171.   item " Fold Bloc&k              <alt f>"    foldblock2
  172.   item " Fold Block Fl&at"                    foldflat
  173.   item " O&pen Block Folds"                   foldblock 'os'
  174.   item " C&lose Block Folds"                  foldblock 'cs'
  175.   item " Re&move Block Folds"                 foldblock 'ds'
  176.   item "─"
  177.   item " Ope&n All Folds          <alt [>"    foldall 'os'
  178.   item " Clo&se All Folds         <alt ]>"    foldall 'cs'
  179.   item " Remo&ve All Folds        <alt 0>"    foldall 'ds'
  180.   item "─"
  181.   item " &Export without Folds.."             asksaveas 'x'
  182.   item " E&xport Block without Folds.."       saveblock2 'x'
  183. end
  184.  
  185.  
  186. forward flushr
  187. menu  "editEdit"
  188.   item " &Undo                      <f1>"   undo
  189.   item " &Redo                  <ctrl y>"   redo
  190.   item "─"
  191.   item " &Insert Line       <ctrl enter>"   insline2
  192.   item " &Delete Line"                      delline
  193.   item " &Join Line              <alt j>"   joinline
  194.   item " &Split Line             <alt s>"   splitline2
  195.   item "─"
  196.   item " Ce&nter Line         <shift f6>"   centerline
  197.   item " Delete Right &Word     <ctrl t>"   delword
  198.   item " Du&plicate Line         <alt 4>"   copyblock '*l'
  199.   item " &Erase to End"                     delchar MAX_COL
  200.   item " &Flus&h Right.